//
//  HWInfoDetailTableViewCell.m
//  家校互通
//
//  Created by 李赛 on 15/5/24.
//  Copyright (c) 2015年 姬鑫宇. All rights reserved.
//

#import "HWInfoDetailTableViewCell.h"

@implementation HWInfoDetailTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setCollectionViewDataSourceDelegate:(id)delgate  contentIndex:(NSInteger)contentIndex  userImageIndex:(NSInteger)userImageIndex
{
    _contentCollectionView.tag=contentIndex;
    _contentCollectionView.dataSource = delgate;
    _contentCollectionView.delegate = delgate;
    [_contentCollectionView reloadData];
    _userImageCollectionView.tag=userImageIndex;
    _userImageCollectionView.dataSource = delgate;
    _userImageCollectionView.delegate = delgate;
    [_userImageCollectionView reloadData];
}
-(void)setBlackBoardDetail:(BlackBoardDetail *)blackBoardDetail
{
    _headerTitleLB.text=blackBoardDetail.title;
    _contentTitleLB.text=blackBoardDetail.content;
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
